package com.feng.exma.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.feng.exma.entity.Exam;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.feng.exma.vo.ExamVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author feng
 * @since 2023-03-22 17:35:29
 */
@Mapper
public interface ExamMapper extends BaseMapper<Exam> {

    List<Exam> pagingExam(@Param("page") Page<Exam> page, @Param("exam") Exam exam);

    ExamVo findOne(String id);
}
